package com.example.dtest_weifuwu00.controller;

import com.example.dtest_weifuwu00.service.FeignTestservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("dtest")
public class FeignTestController {

    @Autowired
    FeignTestservice feignTestservice;

    @PostMapping("/000")
    public String feignTest00(){

        return feignTestservice.getFeignTest();

    }


}
